#include "bluestore/Wrapper.h"
#include <stdlib.h>
#include <stdio.h>

int main(int argc, char **argv)
{
	struct Object *obj = GetInstance("/var/lib/ceph/osd/ceph-218a38da-a11a-4f62-9d02-3bffcd3df3ff/");
	printf("get instance success.\n");
	int ret = 0;
	// start to mkfs
	printf("start to mkfs.\n");
	ret = mkfs(obj);
	printf("the return result is %d\n", ret);
}
//g++ test.cc -I ./../src/ -L ../out/lib/ -std=c++11 -lbluestore -lkv -lcommon -lrocksdb -lsnappy -lz -lpthread -lboost_system -lboost_iostreams -ldl -ltcmalloc -lblkid -laio -lprofiler
